Learn R Programming

SeuratObject (version 5.0.2)

[.Assay5: Layer Data

Description

Get and set layer data

Usage

# S3 method for Assay5
[(x, i = missing_arg(), j = missing_arg(), ...)

# S4 method for Assay5,character,ANY,ANY [(x, i, j, ...) <- value

Value

[: The layer data for layer i

[<-: x with layer data value saved as i

Arguments

x

An Assay5 object

i

Name of layer data to get or set

j

Ignored

...

Arguments passed to LayerData

value

A matrix-like object to add as a new layer

See Also

LayerData

v5 Assay object, validity, and interaction methods: $.Assay5(), Assay5-class, Assay5-validity, [[.Assay5(), dim.Assay5(), dimnames.Assay5(), merge.Assay5(), split.Assay5(), subset.Assay5()